package com.example.backend.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Health implements Serializable {
    private  static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private  Integer id;

    private String name;

    private Date day;

    private Integer deptId;

    private String deptName;
    private float temp;
    private String symptom;
    private String plusNote;
    private Integer userId;

    @Override
    public String toString() {
        return "Health{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", day=" + day +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", temp=" + temp +
                ", symptom='" + symptom + '\'' +
                ", plusNote='" + plusNote + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public float getTemp() {
        return temp;
    }

    public void setTemp(float temp) {
        this.temp = temp;
    }

    public String getHealth() {
        return symptom;
    }

    public void setHealth(String symptom) {
        this.symptom = symptom;
    }

    public String getPlusNote() {
        return plusNote;
    }

    public void setPlusNote(String plusNote) {
        this.plusNote = plusNote;
    }
}
